var js_ver = localStorage.getItem("js_ver"); //js缓存与css缓存版本号
function script(jsAr) {
	for(var i = 0; i < jsAr.length; i++) {
		document.write('<script src="' + jsAr[i] + '?js_ver=' + js_ver + '" type="text/javascript" charset="utf-8"><\/script>');
	}
}
function link(cssAr) {
	for(var i = 0; i < cssAr.length; i++) {
		document.write('<link rel="stylesheet" type="text/css" href="' + cssAr[i] + '?js_ver=' + js_ver + '"/>');
	}
}
var strArJs = localStorage.getItem("strArJs");
var strArCs = localStorage.getItem("strArCs");
link(JSON.parse(strArCs));
script(JSON.parse(strArJs));
